/*
* $Id: GetInspectOperation.h 108 2010-06-29 16:54:39Z volok-aleksej@yandex.ru $
*
* Copyright 2009 by Volokitin Alexey
* All rights reserved
*
*/
#ifndef _GET_INSPECT_OPERATION_H_
#define _GET_INSPECT_OPERATION_H_

#include "../Operation.h"

class CGetInspectOperation : public COperation
{
public:
	CGetInspectOperation();
	virtual ~CGetInspectOperation();
	struct content : public COperation::content{
		content();
		content(const content& cont);
		void operator =(const content& cont);
		int s_nIdJournal;
		int s_nIdHousing;
		std::tstring s_strNameHousing;
		int s_nHoney;
		int s_nBrood;
		int s_nOpenBrood;
		int s_nCloseBrood;
		int s_nGoodsHoney;
		virtual void Clear();
		virtual void Set(const std::vector<CTableItem>& aContent);
	}m_content;
public:
	IResult* GetValue(IDatabase* pDatabase);
	virtual IOperation::i_content* CreateContent();
};

#endif/*_GET_INSPECT_OPERATION_H_*/